8a6bcbc36e40c2a6f5e13fd1e5519e1c0f11a808,sqlg-test/src/main/java/org/umlg/sqlg/test/index/TestIndex.java,TestIndex,testIndexOnVertex1,#,164
Before Change
}
this.sqlgGraph.tx().commit();
assertEquals(1, this.sqlgGraph.traversal().V().has(T.label, "Person").has("name1", "john50").count().next(), 0);
Connection conn = this.sqlgGraph.getSqlgDataSource().get(this.sqlgGraph.getJdbcUrl()).getConnection();
Statement statement = conn.createStatement();
if (this.sqlgGraph.getSqlDialect().getClass().getSimpleName().contains("Postgres")) {
ResultSet rs = statement.executeQuery("explain analyze SELECT * FROM \"public\".\"V_Person\" a WHERE a.\"name1\" = 'john50'");
After Change
}
this.sqlgGraph.tx().commit();
assertEquals(1, this.sqlgGraph.traversal().V().has(T.label, "Person").has("name1", "john50").count().next(), 0);
Connection conn = this.sqlgGraph.getConnection();
Statement statement = conn.createStatement();
if (this.sqlgGraph.getSqlDialect().getClass().getSimpleName().contains("Postgres")) {
ResultSet rs = statement.executeQuery("explain analyze SELECT * FROM \"public\".\"V_Person\" a WHERE a.\"name1\" = 'john50'");